package com.yaoben.exam.pojo;

public class User {
    private Integer id;

    private String loginname;

    private String name;

    private String pwd;

    private Integer roleid;

    private String email;

    private Integer groupid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname == null ? "": loginname.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? "": name.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? "": pwd.trim();
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? "": email.trim();
    }

    public Integer getGroupid() {
        return groupid;
    }

    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

	@Override
	public String toString() {
		return "User [id=" + id + ", loginname=" + loginname + ", name=" + name + ", pwd=" + pwd + ", roleid=" + roleid
				+ ", email=" + email + ", groupid=" + groupid + "]";
	}
    
    
}